package com.zy.core.common.constant.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * Package: com.zy.core.common.constant.enums
 * <p>
 * Description： TODO
 * <p>
 * Author: zhangyu
 * <p>
 * Date: Created in 2018-12-8 20:10
 * <p>
 * Company: mingtu
 * <p>
 * Copyright: Copyright (c) 2018
 * <p>
 * Version: 0.0.1
 * <p>
 * Modified By:
 */
public enum MenuTypeEnum implements IBaseDbEnum {

    dir(0,"目录"),
    menu(1,"菜单"),
    button(2,"按钮");

    private Integer key;

    private String desc;

    MenuTypeEnum(Integer key, String desc) {
        this.key = key;
        this.desc = desc;
    }

    public Integer getKey() {
        return key;
    }

    public void setKey(Integer key) {
        this.key = key;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    @Override
    public String getDisplay() {
        return null;
    }

    @Override
    public Integer getValue() {
        return null;
    }
}
